package br.com.rubrol.bean;

import javax.swing.tree.DefaultMutableTreeNode;

public class FunctionUserObject extends NodeUserObject {
	private Function function;

	public FunctionUserObject(DefaultMutableTreeNode defaultMutableTreeNode) {
		super(defaultMutableTreeNode);
	}

	public FunctionUserObject(DefaultMutableTreeNode defaultMutableTreeNode, Function function) {
		super(defaultMutableTreeNode);
		this.function = function;
	}

	public Function getFunction() {
		return function;
	}

	public void setFunction(Function function) {
		this.function = function;
	}

}
